package com.sunnyebuy.merchant.dao;

import javax.annotation.Resource;

import org.hibernate.SessionFactory;
import org.springframework.orm.hibernate3.support.HibernateDaoSupport;

/**
 * <p>
 * Title: MerchantBaseDAO.java
 * </p>
 * 
 * <p>
 * Description: com.sunnyebuy.merchant.dao.impl
 * </p>
 * 
 * <p>
 * Copyright: Copyright (c) 2008-2011 All rights reserved.
 * </p>
 * 
 * <p>
 * Created: 2011-12-28 上午11:11:47
 * </p>
 * 
 * @author Wenzhong Gu
 * 
 * @version 1.0
 */
public abstract class MerchantBaseDAO extends HibernateDaoSupport {

	// 为父类HibernateDaoSupport注入sessionFactory的值
	@Resource(name = "sessionFactory")
	public void setBaseSessionFactory(SessionFactory sessionFactory) {
		super.setSessionFactory(sessionFactory);
	}

}